package com.cp.admin.modular.user.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 同城用户详细信息
 * </p>
 *
 * @author lkaeiou123
 * @since 2020-08-29
 */
@TableName("user_info")
public class UserInfo extends Model<UserInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
    @TableId("user_id")
    private Long userId;
    /**
     * 性别0小哥哥1小姐姐
     */
    private Integer gender;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 身高Cm
     */
    @TableField("user_height")
    private Integer userHeight;
    /**
     * 体重KG
     */
    @TableField("user_weight")
    private Integer userWeight;
    /**
     * 出生日期
     */
    @TableField("birth_date")
    private Date birthDate;
    /**
     * 城市ID
     */
    @TableField("city_id")
    private Integer cityId;
    /**
     * 职业
     */
    private String vocation;
    /**
     * 常驻城市
     */
    @TableField("resident_city")
    private String residentCity;
    /**
     * 约会期望对象
     */
    private String ddined;
    /**
     * 个人介绍
     */
    private String introduce;
    /**
     * 星座
     */
    private String constellatory;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getUserHeight() {
        return userHeight;
    }

    public void setUserHeight(Integer userHeight) {
        this.userHeight = userHeight;
    }

    public Integer getUserWeight() {
        return userWeight;
    }

    public void setUserWeight(Integer userWeight) {
        this.userWeight = userWeight;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getVocation() {
        return vocation;
    }

    public void setVocation(String vocation) {
        this.vocation = vocation;
    }

    public String getResidentCity() {
        return residentCity;
    }

    public void setResidentCity(String residentCity) {
        this.residentCity = residentCity;
    }

    public String getDdined() {
        return ddined;
    }

    public void setDdined(String ddined) {
        this.ddined = ddined;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getConstellatory() {
        return constellatory;
    }

    public void setConstellatory(String constellatory) {
        this.constellatory = constellatory;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.userId;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
        "userId=" + userId +
        ", gender=" + gender +
        ", nickname=" + nickname +
        ", userHeight=" + userHeight +
        ", userWeight=" + userWeight +
        ", birthDate=" + birthDate +
        ", cityId=" + cityId +
        ", vocation=" + vocation +
        ", residentCity=" + residentCity +
        ", ddined=" + ddined +
        ", introduce=" + introduce +
        ", constellatory=" + constellatory +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
